package kr.co.redcircle.broker.information;

import java.util.ArrayList;


public class BusinessInfo{

	private String group = null;
	private String domainId = null;
	private String id = null;
	private String targetClass = null;
	private ArrayList<String> methods = null;	
	
	public BusinessInfo() {
		super();
		methods = new ArrayList<String>();
	}

	public String getGroup() {
		return group;
	}

	public void setGroup(String group) {
		this.group = group;
	}

	public String getDomainId() {
		return domainId;
	}
	
	public void setDomainId(String domainId) {
		this.domainId = domainId;
	}
	
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	
	public String getTargetClass() {
		return targetClass;
	}
	
	public void setTargetClass(String targetClass) {
		this.targetClass = targetClass;
	}
	
	public ArrayList<String> getMethods() {
		return methods;
	}
	
	public void setMethods(ArrayList<String> methods) {
		this.methods = methods;
	}
	
	public void addMethod(String methodName){
		this.methods.add(methodName);
	}
	
	public String getMethod(int methodIndex){
		return this.methods.get(methodIndex);
	}

	@Override
	public String toString() {
		return "Business [group=" + group + ", domainId=" + domainId + ", id="
				+ id + ", targetClass=" + targetClass + ", methods=" + methods
				+ "]";
	}

}
